/*
========================================================================
 Name        : EasyLabelContainerView.h
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef EASYLABELCONTAINERVIEW_H
#define EASYLABELCONTAINERVIEW_H

#include <aknview.h>

class CEasyLabelContainer;

/**
 * Avkon view class for EasyLabelContainerView. It is register with the view server
 * by the AppUi. It owns the container control.
 * @class	CEasyLabelContainerView EasyLabelContainerView.h
 */						
			
class CEasyLabelContainerView : public CAknView
	{

public:
	// constructors and destructor
	CEasyLabelContainerView();
	static CEasyLabelContainerView* NewL();
	static CEasyLabelContainerView* NewLC();        
	void ConstructL();
	virtual ~CEasyLabelContainerView();
						
	// from base class CAknView
	TUid Id() const;
	void HandleCommandL( TInt aCommand );
	
	CEasyLabelContainer* CreateContainerL();

protected:
	// from base class CAknView
	void DoActivateL(
		const TVwsViewId& aPrevViewId,
		TUid aCustomMessageId,
		const TDesC8& aCustomMessage );
	void DoDeactivate();
	void HandleStatusPaneSizeChange();

private:
	void SetupStatusPaneL();
	void CleanupStatusPane();
	
private:
	CEasyLabelContainer* iEasyLabelContainer;

	};

#endif // EASYLABELCONTAINERVIEW_H
